//
//  TopicListView.h
//  YoursShow
//
//  Created by Roc on 11-4-12.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Topic.h"
#import "TopicSource.h"
#import "TopicView.h"

@protocol Topic;

@protocol TopicListViewDelegate <NSObject>

-(void)topicSelected:(id<Topic>)topic;

@end

@interface TopicListView : UIScrollView <TopicViewDelegate> {
    id<TopicListViewDelegate> _topicListViewDelegate;

    id<TopicSource> _topicSource;    
}

@property (nonatomic, retain) id<TopicListViewDelegate> topicListViewDelegate;

@property (nonatomic, retain) id<TopicSource> topicSource;

- (id)initWithFrame:(CGRect)frame topicSource:(id<TopicSource>)topicSource;
@end
